package com.ruoyi.statisticalCenter.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资产负债对象 sc_assets_and_liabilities
 *
 * @author ruoyi
 * @date 2024-03-16
 */
public class ScAssetsAndLiabilities extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 资产科目 */
    @Excel(name = "资产科目")
    private String assetsAccount;

    /** 资产子科目 */
    @Excel(name = "资产子科目")
    private String assetsSubaccount;

    /** 期初余额 */
    @Excel(name = "期初余额")
    private BigDecimal openingBalance;

    /** 借方 */
    @Excel(name = "借方")
    private String debtor;

    /** 贷方 */
    @Excel(name = "贷方")
    private String creditor;

    /** 期末余额 */
    @Excel(name = "期末余额")
    private BigDecimal endingBalance;

    /** 负债及权益科目 */
    @Excel(name = "负债及权益科目")
    private String liabilitiesAndEquityAccounts;

    /** 负债及权益子科目 */
    @Excel(name = "负债及权益子科目")
    private String liabilitiesAndEquitySubaccounts;

    /** 期初余额 */
    @Excel(name = "期初余额")
    private BigDecimal liOpeningBalance;

    /** 借方 */
    @Excel(name = "借方")
    private String liDebtor;

    /** 贷方 */
    @Excel(name = "贷方")
    private String liCreditor;

    /** 期末余额 */
    @Excel(name = "期末余额")
    private BigDecimal liEndingBalance;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAssetsAccount(String assetsAccount)
    {
        this.assetsAccount = assetsAccount;
    }

    public String getAssetsAccount()
    {
        return assetsAccount;
    }
    public void setAssetsSubaccount(String assetsSubaccount)
    {
        this.assetsSubaccount = assetsSubaccount;
    }

    public String getAssetsSubaccount()
    {
        return assetsSubaccount;
    }
    public void setOpeningBalance(BigDecimal openingBalance)
    {
        this.openingBalance = openingBalance;
    }

    public BigDecimal getOpeningBalance()
    {
        return openingBalance;
    }
    public void setDebtor(String debtor)
    {
        this.debtor = debtor;
    }

    public String getDebtor()
    {
        return debtor;
    }
    public void setCreditor(String creditor)
    {
        this.creditor = creditor;
    }

    public String getCreditor()
    {
        return creditor;
    }
    public void setEndingBalance(BigDecimal endingBalance)
    {
        this.endingBalance = endingBalance;
    }

    public BigDecimal getEndingBalance()
    {
        return endingBalance;
    }
    public void setLiabilitiesAndEquityAccounts(String liabilitiesAndEquityAccounts)
    {
        this.liabilitiesAndEquityAccounts = liabilitiesAndEquityAccounts;
    }

    public String getLiabilitiesAndEquityAccounts()
    {
        return liabilitiesAndEquityAccounts;
    }
    public void setLiabilitiesAndEquitySubaccounts(String liabilitiesAndEquitySubaccounts)
    {
        this.liabilitiesAndEquitySubaccounts = liabilitiesAndEquitySubaccounts;
    }

    public String getLiabilitiesAndEquitySubaccounts()
    {
        return liabilitiesAndEquitySubaccounts;
    }
    public void setLiOpeningBalance(BigDecimal liOpeningBalance)
    {
        this.liOpeningBalance = liOpeningBalance;
    }

    public BigDecimal getLiOpeningBalance()
    {
        return liOpeningBalance;
    }
    public void setLiDebtor(String liDebtor)
    {
        this.liDebtor = liDebtor;
    }

    public String getLiDebtor()
    {
        return liDebtor;
    }
    public void setLiCreditor(String liCreditor)
    {
        this.liCreditor = liCreditor;
    }

    public String getLiCreditor()
    {
        return liCreditor;
    }
    public void setLiEndingBalance(BigDecimal liEndingBalance)
    {
        this.liEndingBalance = liEndingBalance;
    }

    public BigDecimal getLiEndingBalance()
    {
        return liEndingBalance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assetsAccount", getAssetsAccount())
            .append("assetsSubaccount", getAssetsSubaccount())
            .append("openingBalance", getOpeningBalance())
            .append("debtor", getDebtor())
            .append("creditor", getCreditor())
            .append("endingBalance", getEndingBalance())
            .append("liabilitiesAndEquityAccounts", getLiabilitiesAndEquityAccounts())
            .append("liabilitiesAndEquitySubaccounts", getLiabilitiesAndEquitySubaccounts())
            .append("liOpeningBalance", getLiOpeningBalance())
            .append("liDebtor", getLiDebtor())
            .append("liCreditor", getLiCreditor())
            .append("liEndingBalance", getLiEndingBalance())
            .toString();
    }
}
